package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 热点平台对象 hotspot_platform
 * 
 * @author ruoyi
 * @date 2022-01-20
 */
@Component
public class HotspotPlatform {
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String platformId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String platformName;

    /** 热点平台表 */
    @Excel(name = "热点平台表")
    private String platformCode;

    private List<HotspotDataRealtime> hotspotDataRealtimeList;

    public void setPlatformId(String platformId)
    {
        this.platformId = platformId;
    }

    public String getPlatformId() 
    {
        return platformId;
    }
    public void setPlatformName(String platformName) 
    {
        this.platformName = platformName;
    }

    public String getPlatformName() 
    {
        return platformName;
    }
    public void setPlatformCode(String platformCode) 
    {
        this.platformCode = platformCode;
    }

    public String getPlatformCode() 
    {
        return platformCode;
    }

    public List<HotspotDataRealtime> getHotspotDataRealtimeList() {
        return hotspotDataRealtimeList;
    }

    public void setHotspotDataRealtimeList(List<HotspotDataRealtime> hotspotDataRealtimeList) {
        this.hotspotDataRealtimeList = hotspotDataRealtimeList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("platformId", getPlatformId())
            .append("platformName", getPlatformName())
            .append("platformCode", getPlatformCode())
            .append("hotspotDataRealtimeList", getHotspotDataRealtimeList())
            .toString();
    }
}
